<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:98:"D:\www\jiedanwwangshangjiatwo\public/../application/admin\view\membership\list_driver_balance.html";i:1548145477;s:71:"D:\www\jiedanwwangshangjiatwo\application\admin\view\public\header.html";i:1545961364;s:69:"D:\www\jiedanwwangshangjiatwo\application\admin\view\public\left.html";i:1582874731;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>网站管理系统</title>
<meta name="author" content="" />
<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/style.css" />
	<link rel="stylesheet" type="text/css" href="__STATIC__/admin/css/page.css" />

<!--[if lt IE 9]>
<script src="js/html5.js"></script>
<![endif]-->
	<link href="__STATIC__/admin/font/css/font-awesome.min.css" rel="stylesheet" />
	<link href="__STATIC__/admin/css/main.css" rel="stylesheet" type="text/css">
<script src="__STATIC__/admin/js/jquery.js"></script>
<script src="__STATIC__/admin/js/jquery.mCustomScrollbar.concat.min.js"></script>

<script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/editor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/editor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="__STATIC__/admin/js/editor/lang/zh-cn/zh-cn.js"></script>
	<script src="__STATIC__/admin/js/layer/layer.js"></script>
<script>
	(function($){
		$(window).load(function(){
			
			$("a[rel='load-content']").click(function(e){
				e.preventDefault();
				var url=$(this).attr("href");
				$.get(url,function(data){
					$(".content .mCSB_container").append(data); //load new content inside .mCSB_container
					//scroll-to appended content 
					$(".content").mCustomScrollbar("scrollTo","h2:last");
				});
			});
			
			$(".content").delegate("a[href='top']","click",function(e){
				e.preventDefault();
				$(".content").mCustomScrollbar("scrollTo",$(this).attr("href"));
			});
			
		});
	})(jQuery);
</script>
</head>
<body>
<header>
 <h1><img src="__STATIC__/admin/images/admin_logo.png"/></h1>
 <ul class="rt_nav">
  <li><a href="<?php echo url('index/index/index'); ?>" target="_blank" class="website_icon">站点首页</a></li>
  <li><a class="admin_icon"><?php echo $info['account']; ?></a></li>
  <li><a href="#" class="set_icon">账号设置</a></li>
  <li><a href="<?php echo url('Login/login_out'); ?>" class="quit_icon">安全退出</a></li>
 </ul>
</header>
<style>
	.my_ul{
		height: 45px;background-color: #F0F0EE;margin-left: 210px;line-height: 46px;border-bottom: 1px solid #b6b6b6;
	}
	.my_ul li a{
		float: left;color: #333;margin-left: 20px;font-size: 14px;
	}
	.my_ul li a:hover{
		color: #19A97B;
	}
</style>
<section>
	<ul class="my_ul">
		
	</ul>
</section>
<?php
 $active=request()->controller().'/'.request()->action();

?>
<aside class="lt_aside_nav content mCustomScrollbar">
	<h2><a href="<?php echo url('Index/index'); ?>">起始页</a></h2>
	<ul>
		<?php if($group_power == 'all' || in_array('client',$group_power)): ?>
		<li>
			<dl>
				<dt>客户列表</dt>
				<?php if($role_right == 'all' || in_array('Center@member',$role_right)): ?>
				<dd>
					<a href="<?php echo url('Center/member'); ?>"  <?php if($active == 'Center/member'): ?>class="active"<?php endif; ?>>会员列表</a>
				</dd>
				<?php endif; if($role_right == 'all' || in_array('Merchant@index',$role_right)): ?>
					<dd>
						<a href="<?php echo url('Merchant/index'); ?>"  <?php if($active == 'Merchant/index'): ?>class="active"<?php endif; ?>>商户列表</a>
					</dd>
				<?php endif; if($role_right == 'all' || in_array('Driver@index',$role_right)): ?>
					<dd>
						<a href="<?php echo url('Driver/index'); ?>"  <?php if($active == 'Driver/index'): ?>class="active"<?php endif; ?>>司机列表</a>
					</dd>
				<?php endif; if($role_right == 'all' || in_array('Merchant@variety',$role_right)): ?>
					<dd>
						<a href="<?php echo url('Merchant/variety'); ?>"  <?php if($active == 'Merchant/variety'): ?>class="active"<?php endif; ?>>菜品统计</a>
					</dd>
				<?php endif; ?>
			</dl>
		</li>
			<?php endif; if($group_power == 'all' || in_array('data',$group_power)): ?>
			<li>
				<dl>
					<dt>数据</dt>
					<?php if($role_right == 'all' || in_array('Order@order_list',$role_right)): ?>
						<dd>
							<a href="<?php echo url('Order/order_list'); ?>"  <?php if($active == 'Order/order_list'): ?>class="active"<?php endif; ?>>订单列表</a>
						</dd>
					<?php endif; if($role_right == 'all' || in_array('Withdrawals@index',$role_right)): ?>
						<dd>
							<a href="<?php echo url('Withdrawals/index'); ?>"  <?php if($active == 'Withdrawals/index'): ?>class="active"<?php endif; ?>>提现列表</a>
						</dd>
					<?php endif; ?>
					<dd>
						<a href="<?php echo url('Membership/list_driver_withdrawals'); ?>">司机提现列表</a>
					</dd>
					<dd>
						<a href="<?php echo url('Membership/list_driver_balance'); ?>">司机收入列表</a>
					</dd>
				</dl>
			</li>
		<?php endif; if($group_power == 'all' || in_array('distribution',$group_power)): ?>
			<li>
				<dl>
					<dt>分销推广</dt>
					<dd>
						<a href="<?php echo url('Membership/list_index'); ?>">会员审核列表</a>
					</dd>
					<dd>
						<a href="<?php echo url('Membership/list_withdrawals'); ?>">分销提现列表</a>
					</dd>

					<dd>
						<a href="<?php echo url('Membership/list_system_balance'); ?>">平台回扣列表</a>
					</dd>
					<dd>
						<a href="<?php echo url('Membership/list_member_balance'); ?>">会员佣金列表</a>
					</dd>
					<dd>
						<a href="<?php echo url('Membership/list_mention_balance'); ?>">自提佣金列表</a>
					</dd>
				</dl>
			</li>
		<?php endif; if($group_power == 'all' || in_array('set',$group_power)): ?>
			<li>
				<dl>
					<dt>店铺设置</dt>
					<?php if($role_right == 'all' || in_array('Set@banner',$role_right)): ?>
						<!-- <dd>
							<a href="<?php echo url('Set/banner'); ?>"  <?php if($active == 'Set/banner'): ?>class="active"<?php endif; ?>>店铺轮播图</a>
						</dd> -->
					<?php endif; if($role_right == 'all' || in_array('Set@banner',$role_right)): ?>
						<dd>
							<a href="<?php echo url('Set/shop_list'); ?>"  <?php if($active == 'Set/banner'): ?>class="active"<?php endif; ?>>店铺列表</a>
						</dd>
					<?php endif; if($role_right == 'all' || in_array('Set@activity',$role_right)): ?>
						<!-- <dd>
							<a href="<?php echo url('Set/activity'); ?>"  <?php if($active == 'Set/activity'): ?>class="active"<?php endif; ?>>首页活动专区</a>
						</dd> -->
					<?php endif; if($role_right == 'all' || in_array('Set@banner2',$role_right)): ?>
						<!-- <dd>
							<a href="<?php echo url('Set/banner2'); ?>"  <?php if($active == 'Set/banner2'): ?>class="active"<?php endif; ?>>轮播图2</a>
						</dd> -->
					<?php endif; if($role_right == 'all' || in_array('Set@category',$role_right)): ?>
						<!-- <dd>
							<a href="<?php echo url('Set/category'); ?>"  <?php if($active == 'Set/category'): ?>class="active"<?php endif; ?>>店铺分类</a>
						</dd> -->
					<?php endif; ?>
				</dl>
			</li>
		<?php endif; if($group_power == 'all' || in_array('set',$group_power)): ?>
			<li>
				<dl>
					<dt>设置</dt>
					<?php if($role_right == 'all' || in_array('Set@about',$role_right)): ?>
						<dd>
							<a href="<?php echo url('Set/about'); ?>"  <?php if($active == 'Set/about'): ?>class="active"<?php endif; ?>>关于我们</a>
						</dd>
					<?php endif; if($role_right == 'all' || in_array('Set@activity2',$role_right)): ?>
						<!-- <dd>
							<a href="<?php echo url('Set/activity2'); ?>"  <?php if($active == 'Set/activity2'): ?>class="active"<?php endif; ?>>线路活动专区</a>
						</dd> -->
					<?php endif; if($role_right == 'all' || in_array('Set@feedback',$role_right)): ?>
						<dd>
							<a href="<?php echo url('Set/feedback'); ?>"  <?php if($active == 'Set/feedback'): ?>class="active"<?php endif; ?>>意见反馈</a>
						</dd>
					<?php endif; if($role_right == 'all' || in_array('Set@index',$role_right)): ?>
						<dd>
							<a href="<?php echo url('Set/index'); ?>"  <?php if($active == 'Set/index'): ?>class="active"<?php endif; ?>>系统设置</a>
						</dd>
					<?php endif; ?>
				</dl>
			</li>
		<?php endif; if($group_power == 'all'): ?>
			<li>
				<dl>
					<dt>权限管理</dt>
					<dd>
						<a href="<?php echo url('Admin/li'); ?>"  <?php if($active == 'Admin/li'): ?>class="active"<?php endif; ?>>管理员</a>
					</dd>
					<dd>
						<a href="<?php echo url('Admin/role'); ?>"  <?php if($active == 'Admin/role'): ?>class="active"<?php endif; ?>>角色管理</a>
					</dd>
					<!-- <dd>
						<a href="<?php echo url('Admin/right_list'); ?>"  <?php if($active == 'Admin/right_list'): ?>class="active"<?php endif; ?>>权限列表</a>
					</dd> -->
				</dl>
			</li>
		<?php endif; ?>
		<li>
			<p class="btm_infor">© 版权所有</p>
		</li>
	</ul>

</aside>
<section class="rt_wrap content mCustomScrollbar">
	<div class="rt_content">

		<!--点击加载-->
		<script>
			$(document).ready(function() {
				$("#loading").click(function() {
					$(".loading_area").fadeIn();
					$(".loading_area").fadeOut(1500);
				});
			});
		</script>
		<section class="loading_area">
			<div class="loading_cont">
				<div class="loading_icon"><i></i><i></i><i></i><i></i><i></i></div>
				<div class="loading_txt"><mark>数据正在加载，请稍后！</mark></div>
			</div>
		</section>
		<!--结束加载-->
		<!--弹出框效果-->
		<script>
			$(document).ready(function() {
				//弹出文本性提示框
				$("#showPopTxt").click(function() {
					$(".pop_bg").fadeIn();
				});
				//弹出：确认按钮
				$(".trueBtn").click(function() {
					alert("你点击了确认！"); //测试
					$(".pop_bg").fadeOut();
				});
				//弹出：取消或关闭按钮
				$(".falseBtn").click(function() {
					alert("你点击了取消/关闭！"); //测试
					$(".pop_bg").fadeOut();
				});
			});
		</script>
		<section class="pop_bg">
			<div class="pop_cont">
				<!--title-->
				<h3>弹出提示标题</h3>
				<!--content-->
				<div class="pop_cont_input">
					<ul>
						<li>
							<span>标题</span>
							<input type="text" placeholder="定义提示语..." class="textbox" />
						</li>
						<li>
							<span class="ttl">城市</span>
							<select class="select">
								<option>选择省份</option>
							</select>
							<select class="select">
								<option>选择城市</option>
							</select>
							<select class="select">
								<option>选择区/县</option>
							</select>
						</li>
						<li>
							<span class="ttl">地址</span>
							<input type="text" placeholder="定义提示语..." class="textbox" />
						</li>
						<li>
							<span class="ttl">地址</span>
							<textarea class="textarea" style="height:50px;width:80%;"></textarea>
						</li>
					</ul>
				</div>
				<!--以pop_cont_text分界-->
				<div class="pop_cont_text">
					这里是文字性提示信息！
				</div>
				<!--bottom:operate->button-->
				<div class="btm_btn">
					<input type="button" value="确认" class="input_btn trueBtn" />
					<input type="button" value="关闭" class="input_btn falseBtn" />
				</div>
			</div>
		</section>
		<!--结束：弹出框效果-->
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>
<div class="page">
    <div class="flexigrid">

        <div class="mDiv">
            <div class="ftitle">
                <h3>司机收入列表</h3>
                <h5>(司机收入总金额：<?php echo $total_money; ?>元)</h5>
            </div>
            <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
            <form class="navbar-form form-inline"  method="get" action=""  name="search-form2" id="search-form2">
                <div class="sDiv">
                    <input type="text" size="30" name="nickname" class="qsbox" placeholder="用户名" value="<?php echo $nickname; ?>">&nbsp;&nbsp;
                    <input type="text" size="30" name="mobile" class="qsbox" placeholder="电话" value="<?php echo $mobile; ?>">&nbsp;&nbsp;
                    <input type="text" size="30" name="order_sn" class="qsbox" placeholder="订单编号" value="<?php echo $order_sn; ?>">&nbsp;&nbsp;
                    <div class="sDiv2">
                        <input type="submit"   class="btn" value="搜索">
                    </div>
                </div>
            </form>
        </div>

        <div class="hDiv">
            <div class="hDivBox">
                <table cellspacing="0" cellpadding="0">
                    <thead>
                    <tr>

                        <th class="sign" axis="col0">
                            <div style="width: 24px;"><i class="ico-check"></i></div>
                        </th>
                        <th align="left" abbr="article_title" axis="col3" class="">
                            <div style="text-align: left; width: 150px;" class="">用户</div>
                        </th>
                        <th align="left" abbr="ac_id" axis="col4" class="">
                            <div style="text-align: left; width: 200px;" class="">头像</div>
                        </th>
                        <th align="left" abbr="ac_id" axis="col4" class="">
                            <div style="text-align: left; width: 200px;" class="">电话</div>
                        </th>
                        <th align="left" abbr="ac_id" axis="col4" class="">
                            <div style="text-align: left; width: 200px;" class="">店铺昵称</div>
                        </th>
                        <th align="left" abbr="ac_id" axis="col4" class="">
                            <div style="text-align: left; width: 200px;" class="">订单编号</div>
                        </th>
                        <th align="left" abbr="ac_id" axis="col4" class="">
                            <div style="text-align: left; width: 100px;" class="">司机所得配送金额</div>
                        </th>
                        <th align="center" axis="col1" class="handle">
                            <div style="text-align: center; width: 150px;">查看订单</div>
                        </th>
                        <th style="width:100%" axis="col7">
                            <div></div>
                        </th>
                    </tr>
                    </thead>
                </table>
            </div>
        </div>
        <div class="bDiv" style="height: auto;">
            <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
                <table>
                    <tbody>
                    <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): if( count($list)==0 ) : echo "" ;else: foreach($list as $k=>$vo): ?>
                        <tr>
                            <td class="sign">
                                <div style="width: 24px;"><i class="ico-check"></i></div>
                            </td>
                            <td align="left" class="">
                                <div style="text-align: left; width: 150px;"><?php echo $vo['nickname']; ?></div>
                            </td>
                            <td align="left" class="">
                                <div style="text-align: left; width: 200px;"><img src="<?php echo $vo['headimage']; ?>" width="20" height="20"></div>
                            </td>
                            <td align="left" class="">
                                <div style="text-align: left; width: 200px;"><?php echo $vo['mobile']; ?></div>
                            </td>
                            <td align="left" class="">
                                <div style="text-align: left; width: 200px;"><?php echo $vo['shopname']; ?></div>
                            </td>
                            <td align="left" class="">
                                <div style="text-align: left; width: 200px;"><?php echo $vo['order_sn']; ?></div>
                            </td>
                            <td align="left" class="">
                                <div style="text-align: left; width: 200px;"><?php echo $vo['money']; ?></div>
                            </td>
                            <td align="center" class="handle">
                                <div style="text-align: center; width: 170px; max-width:170px;">
                                    <a class="btn red"  href="<?php echo url('order/detail',['order_id'=>$vo['order_id']]); ?>">查看订单详情</a>
                                </div>
                            </td>
                            <td align="" class="" style="width: 100%;">
                                <div>&nbsp;</div>
                            </td>
                        </tr>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                    </tbody>
                </table>
            </div>
            <div class="iDiv" style="display: none;"></div>
        </div>
        <?php echo $list->render(); ?>
        <!--分页位置-->
    </div>
</div>
</body>
</html>
</html>